package tc.de.krawallmann.robobridge.devices.implementation;

public enum Light{
	BLINKER_FRONT_LEFT(Direction.LEFT, 0), BLINKER_BACK_LEFT(Direction.LEFT,2), 
	FRONTLIGHT_LEFT(Direction.LEFT,1), BACKLIGHT_LEFT(Direction.LEFT,3), REVERSELIGHT_LEFT(Direction.LEFT,7),
	
	
	BLINKER_FRONT_RIGHT(Direction.RIGHT,6), BLINKER_BACK_RIGHT(Direction.RIGHT,5), FRONTLIGHT_RIGHT(Direction.RIGHT,7), 
	BACKLIGHT_RIGHT(Direction.RIGHT,4), REVERSELIGHT_RIGHT(Direction.RIGHT,3);
	
	private int id;
	private Direction direction;
	
	
	private Light(Direction direction, final int id) {
		this.id = id;
		this.direction=direction;
	}

	public int getId() {
		return id;
	}
	
	public Direction getDirection(){
		return direction;
	}

}